<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page
	import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter"%>
<%@ page
	import="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><core:sysParam sysParamCode="COMPANY_NAME"
		outPutToJsp="true" /></title>
<link href="themes/css/login.css" rel="stylesheet" type="text/css" />
</head>
<body>

	<div id="login">
		<div id="login_header">
			<h1 class="login_logo">
				<a href="#"><img src="themes/default/images/login_logo.gif" />
				</a>
			</h1>
			<div class="login_headerContent">
				<div class="navList">
					<ul>
						<li><a href="#">设为首页</a></li>
						<li><a href="#">升级说明</a></li>
						<li><a href="#">反馈</a></li>
						<li><a href="#">帮助</a></li>
					</ul>
				</div>
				<h2 class="login_title">
					<img src="themes/default/images/login_title.png" />
				</h2>
			</div>
		</div>
		<div id="login_content">
			<div class="loginForm">
				<form id="loginForm" action="${ctx}/j_spring_security_check"
					method="post" />
				<c:if
					test="${null != sessionScope.SPRING_SECURITY_LAST_EXCEPTION or not empty param['error']}">
					<p align="center" style="color: red">登录失败，请重试.</p>
				</c:if>
				<p>
					<label> 用户名： </label> <input type='text' id='j_username'
						name='j_username' class="login_input"
						value="${sessionScope.SPRING_SECURITY_LAST_USERNAME }" />
				</p>
				<p>
					<label> 密码： </label> <input type='password' id='j_password'
						name='j_password' size="20" class="login_input" />
				</p>
				<!--<p>
						<label>验证码：</label>
						<input class="code" type="text" size="5" />
						<span><img src="themes/default/images/header_bg.png" alt="" width="75" height="24" /></span>
					</p>
					-->
				<div class="login_bar">
					<input class="sub" type="submit" value=" " />
				</div>
				</form>
			</div>
			<div class="login_banner">
				<img src="themes/default/images/login_banner.jpg" />
			</div>
			<div class="login_main">
				<ul class="helpList">
					<li><a href="#">忘记密码怎么办？</a></li>
					<li><a href="#">为什么登录失败？</a></li>
				</ul>
				<div class="login_inner">
					<p>您可以使用 网易网盘 ，随时存，随地取</p>
					<p>您还可以使用 闪电邮 在桌面随时提醒邮件到达，快速收发邮件。</p>
					<p>在 百宝箱 里您可以查星座，订机票，看小说，学做菜…</p>
				</div>
			</div>
		</div>
		<div id="login_footer">
			<core:sysParam sysParamCode="COMPANY_FOOTER_COPYRIGHT"
				outPutToJsp="true" />
			<core:sysParam sysParamCode="COMPANY_FOOTER_URL" outPutToJsp="true" />
			<core:sysParam sysParamCode="COMPANY_FOOTER_NAME " outPutToJsp="true" />
		</div>
	</div>
</body>
</html>